﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Runtime.Serialization;

namespace CrmContacto.Contracts.Contracts
{
    [Serializable]
    [DataContract]
    public class PlanDeMarketing
    {
        public PlanDeMarketing()
        {
            AccionDeMarketingList = new List<AccionDeMarketing>();
            PlanDeMarketingEstadistica = new PlanDeMarketingEstadistica();
            PlanDeMarketingDatos = new PlanDeMarketingDatos();
        }

        [DataMember]
        public int Id { get; set; }

        [DataMember]
        public string Nombre { get; set; }

        [DataMember]
        public string Descripcion { get; set; }

        [DataMember]
        public DateTime? VigenciaDesde { get; set; }

        [DataMember]
        public DateTime? VigenciaHasta { get; set; }

        [DataMember]
        public int? Estado { get; set; }

        [DataMember]
        public int EmpresaId { get; set; }

        [DataMember]
        public string Responsable { get; set; }

        [DataMember]
        public PlanDeMarketingDatos PlanDeMarketingDatos { get; set; }

        [DataMember]
        public PlanDeMarketingEstadistica PlanDeMarketingEstadistica { get; set; }

        [DataMember]
        public List<AccionDeMarketing> AccionDeMarketingList { get; set; }
    }
}
